package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF9BW1600 {
    private static double[] cer = {
            6.2781e-10,
            -2.6256e-07,
            3.7632e-05,
            -0.0022408,
            0.05252,
            0.47936,
            0.46183,
    };
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    -2.8555,
                    2.6262,
                    1.0012,
                    -0.074582,
                    1.0241,
                    2.0998,
                    2.4431,
                    2.3058,
                    2.1685,
                    2.6262,
                    2.4202,
                    2.4546,
                    1.8938,
                    2.2829,
                    2.4431,
                    2.672,
                    2.5461,
                    2.8093,
                    2.6033,
                    2.2371,
                    2.26,
                    2.0998,
                    2.3287,
                    2.3516,
                    2.3058,
                    2.466,
                    2.3058,
                    2.157,
                    2.2142,
                    2.3287,
                    2.26,
                    2.3287,
                    2.2715,
                    2.2371,
                    2.2371,
                    2.3745,
                    2.3287,
                    2.3287,
                    2.26,
                    2.1227,
                    2.1227,
                    2.1913,
                    2.2829,
                    2.3973,
                    2.3058,
                    2.1685,
                    2.26,
                    3.4731,
                    4.1368,
                    4.5946,
                    4.3886,
                    4.0911,
                    4.2513,
                    4.0911,
                    4.1826,
                    4.3886,
                    4.0682,
                    4.3657,
                    4.3886,
                    4.3428,
                    4.6175,
                    4.4802,
                    4.4344,
                    4.7777,
                    4.915,
                    5.6475,
                    5.0981,
                    7.3412,
                    7.181,
                    6.8605,
                    7.2954,
                    7.2954,
                    7.2039,
                    7.4785,
                    7.9592,
                    8.0049,
                    7.9134,
                    7.9592,
                    8.0049,
                    8.0049,
                    8.1194,
                    8.1194,
                    8.2567,
                    8.2338,
                    8.1881,
                    8.3712,
                    8.3712,
                    8.4169,
                    8.8518,
                    8.6,
                    8.806,
                    8.909,
                    9.1951,
                    9.4011,
                    9.4469,
                    9.424,
                    9.527,
                    9.4469,
                    9.424,
                    9.5156,
                    9.3782,
                    9.527,
                    9.424,
                    9.5156,
                    9.5156,
                    9.4011,
                    9.5156,
                    9.5156,
                    9.4927,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
                    9.424,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
